package com.wondertek.service.mapper.business;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wondertek.service.dto.business.res.SiteDetailRes;
import com.wondertek.service.entity.business.SitePo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SiteMapper extends BaseMapper<SitePo> {
    /*
     * 通过userid查找站点
     * */
    List<SitePo> selectSiteByUserId(@Param("userId")String userId);

    /*
     * 站点详情
     * */
    SiteDetailRes detail(@Param("id")String id);
}
